<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改密码</title>
    <meta name="viewport"
          content="width=device-width,initial-scale=1,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" type="text/css" href="../static/bootstrap3/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="../static/bootstrap3/font-awesome-4.7.0/css/font-awesome.css" />
    <style>
        .reg{
            position: absolute;
            top: 40%;
            left: 35%;
        }
    </style>
</head>
<body>
<div class="reg">
    <h2 class="reg-a">修改成功
        <a class="reg-a-1" href="http://localhost:8080/loginNow">10秒后自动跳转登录界面</a>
    </h2>
    <meta http-equiv="refresh" content="10;URL=loginNow">
</div>
</body>
<script type="text/javascript" src="../static/bootstrap3/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../static/bootstrap3/js/bootstrap.js"></script>
<script type="text/javascript" src="../static/bootstrap3/js/holder.js"></script>
<script type="text/javascript" src="../static/bootstrap3/js/html5shiv.min.js"></script>
<script type="text/javascript" src="../static/bootstrap3/js/css3-mediaqueries.js"></script>
<script type="text/javascript" src="../static/bootstrap3/js/respond.min.js"></script>
<script type="text/javascript" src="../static/js/vue.js"></script>
<script type="text/javascript">
    /* (document).ready()加载文档时激活函数 */
    $(document).ready(function(){
        let i = 10;
        setInterval(function () {
            i--;
            $(".reg-a-1").html(i+"秒后自动跳转登录界面")
        },1000)
    });
</script>
</html>